<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浏览器DOM中元素的访问与操作</title>
    <script src="./js/js19_dom_element.js" async></script>
    <style>
        .b{
            color: red;
        }
        .c{
            font-weight: bold;
        }
    </style>
</head>
<body>
    <h1>浏览器DOM中元素的访问与操作</h1>
    <ul>
        <li><a href="#" class="link">链接1</a></li>
        <li><a href="#" class="link">链接2</a></li>
        <li><a href="#" class="link">链接3</a></li>
    </ul>
    <div id="box">
        <p style="visibility:hidden;">隐藏内容</p>
    </div>
    <ul>
        <li><img src="" alt="图片1"></li>
        <li><img src="" alt="图片2"></li>
        <li><img src="" alt="图片3"></li>
    </ul>
    <form action="">
        <label for="p1">文本1</label><input id="p1" name="text" type="text">
        <label for="p2">文本2</label><input id="p2" name="text" type="text">
        <label for="p3">文本3</label><input id="p3" name="text" type="text">
    </form>

    <div id="content" date-list="news">
        <p>段落</p>
        <ul>
            <li>列表1</li>
            <li>列表2</li>
            <li>列表3</li>
        </ul>
    </div>
</body>
</html>